win32: Support all css cursor names
authorMatthias Clasen <mclasen@redhat.com>
Sun, 26 Jul 2015 05:34:38 +0000 (01:34 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 26 Jul 2015 05:43:56 +0000 (01:43 -0400)
Approximate some of the resize cursors with similar cursors.

gdk/win32/gdkcursor-win32.c

index 290389b2101cdbdd7c441b5fd9167bf065679b30..288f87c5ef39661c378f755c2bd76b194472ba7a 100644 (file)
@@ -61,9 +61,19 @@ static DefaultCursor default_cursors[] = {
   { "move", IDC_SIZEALL },
   { "not-allowed", IDC_NO },
   { "ew-resize", IDC_SIZEWE },
+  { "e-resize", IDC_SIZEWE },
+  { "w-resize", IDC_SIZEWE },
+  { "col-resize", IDC_SIZEWE },
   { "ns-resize", IDC_SIZENS },
+  { "n-resize", IDC_SIZENS },
+  { "s-resize", IDC_SIZENS },
+  { "row-resize", IDC_SIZENS },
   { "nesw-resize", IDC_SIZENESW },
+  { "ne-resize", IDC_SIZENESW },
+  { "sw-resize", IDC_SIZENESW },
   { "nwse-resize", IDC_SIZENWSE }
+  { "nw-resize", IDC_SIZENWSE }
+  { "se-resize", IDC_SIZENWSE }
 };
 
 static HCURSOR